//
//  User.swift
//  jiaoyi
//
//  Created by 易万军 on 2018/10/20.
//  Copyright © 2018年 wjk. All rights reserved.
//

import UIKit

class User: NSObject {
    static let shared = User()
    
    func isLogined() -> Bool{
        if  UserDefaults.User.bool(forKey: .isLogin) == true {
            return true
        }
        return false
    }
  
}
